/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Dblayer;
import Modellayer.*;
import java.util.ArrayList;


/**
 *
 * @author bruhn
 */
public interface IFDBVare {
     // get all Vare
    public ArrayList<Vare> hentVare(boolean retriveAssociation);
    //get one Vare by the vareID
    public Vare findVare(int vareID, boolean retriveAssociation);
    //insert a new Vare
    public int opretVare(Vare vare);
    //update information about a Vare
    public int redigerVare(Vare vare);
    //delete a Vare
    public void sletVare(int vareID);

}
